/*
 * clockpath.h
 *
 *  Created on: Apr 4, 2012
 *      Author: hxu
 */

#ifndef CLOCKPATH_H_
#define CLOCKPATH_H_
#include <vector>
#include "subpath.h"
#include <iostream>

namespace Cxuh {

class clockpath {
public:
	clockpath();
	clockpath(int id);
	virtual ~clockpath();
	void add_spath(int nbuf, int tier);
	int get_num_tier();
	int getID(){return id;};
	std::vector<subpath> get_sub_path() {return spath;};
	friend std::ostream& operator << (std::ostream& out, clockpath&);

private:
	int id;
	std::vector<subpath> spath;
};

} /* namespace Cxuh */
#endif /* CLOCKPATH_H_ */
